Platform Explorer / Nuxeo Platform 2021.52

Component org.nuxeo.ecm.relations.core.listener

Resolution Order

463
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.relations.core.listener" version="1.0.0">

  <extension target="org.nuxeo.ecm.core.event.EventServiceComponent"
    point="listener">

    <documentation>
      Deletes existing relations on a document when it is removed.
    </documentation>

    <!-- NXP-4951: disable this listener for most common use cases -->
    <!--
      <listener name="publishRelationsListener" async="false" postCommit="false"
      class="org.nuxeo.ecm.platform.relations.core.listener.PublishRelationsListener"
      priority="-50">
      <event>documentProxyPublished</event>
      </listener>
    -->

    <listener name="deleteRelationsListener" async="false" postCommit="false"
      class="org.nuxeo.ecm.platform.relations.core.listener.DeleteRelationsListener"
      priority="-40">
      <event>documentRemoved</event>
    </listener>

  </extension>

</component>